<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <title>榜单</title>
    <link rel="stylesheet" type="text/css" href="css/main.css" media="all"/>
</head>
<body>
<div id="container" class="mp-box mp-box-tab j-tab-container mp-shouyou-billboard">
    <div class="mp-box-head j-tab">
        <h3 class="mp-box-head-tab j-tab-item active OP_LOG_LINK"><strong>安卓</strong>风云榜</h3>
        <h3 class="mp-box-head-tab j-tab-item OP_LOG_LINK"><strong>IOS</strong>风云榜</h3>
        <div class="line"></div>
    </div>
    <div class="mp-list-wrap j-tab-cnt j-rank-box" id="j-rank-android">
        <div class="mp-list-wrap">
            <ul class="mp-gamerank-list3 j-rank">
                <li class="list-item list-item-0 item-hover">
                    <div class="brief">
                        <span class="number">1</span>
                        <a title="魔力宝贝（风靡亚洲）" class="name" target="_blank" href="#">魔力宝贝（风靡亚洲）</a>
                    </div>
                    <div class="detail">
                        <a target="_blank" id="tj_android_0" href="#">
                            <img class="pic-shouyou" alt="魔力宝贝（风靡亚洲）" src="images/1.jpg">
                        </a>
                        <div class="txt-wrap txt-wrap-shouyou">
                            <p class="popular">人气 ：<strong class="highlight">183324</strong></p>
                            <p class="type">类型 ：网络游戏</p>
                            <a title="点击下载" class="mp-btn mp-btn-focus2 download-btn" target="_blank" id="tj_android_0_download" href="#">下载</a>
                        </div>
                    </div>
                </li>
                <li class="list-item list-item-1">
                    <div class="brief">
                        <span class="number">2</span>
                        <a title="去吧皮卡丘" class="name" target="_blank" href="#">去吧皮卡丘</a>
                    </div>
                    <div class="detail">
                        <a target="_blank" id="tj_android_1" href="#">
                            <img class="pic-shouyou" alt="去吧皮卡丘" src="images/1.jpg">
                        </a>
                        <div class="txt-wrap txt-wrap-shouyou">
                            <p class="popular">人气 ：<strong class="highlight">181360</strong></p>
                            <p class="type">类型 ：网络游戏</p>
                            <a title="点击下载" class="mp-btn mp-btn-focus2 download-btn" target="_blank" id="tj_android_1_download" href="#">下载</a>
                        </div>
                    </div>
                </li>
                <li class="list-item list-item-2">
                    <div class="brief">
                        <span class="number">3</span>
                        <a title="剑魂之刃(手操之王)" class="name" target="_blank" href="#">剑魂之刃(手操之王)</a>
                    </div>
                    <div class="detail">
                        <a target="_blank" id="tj_android_2" href="#">
                            <img class="pic-shouyou" alt="剑魂之刃(手操之王)" src="images/1.jpg">
                        </a>
                        <div class="txt-wrap txt-wrap-shouyou">
                            <p class="popular">人气 ：<strong class="highlight">181348</strong></p>
                            <p class="type">类型 ：动作冒险</p>
                            <a title="点击下载" class="mp-btn mp-btn-focus2 download-btn" target="_blank" id="tj_android_2_download" href="#">下载</a>
                        </div>
                    </div>
                </li>
                <li class="list-item">
                    <div class="brief">
                        <span class="number">4</span>
                        <a title="神之刃(神之作)" class="name" target="_blank" href="#">神之刃(神之作)</a>
                    </div>
                    <div class="detail">
                        <a target="_blank" id="tj_android_3" href="#">
                            <img class="pic-shouyou" alt="神之刃(神之作)" src="images/1.jpg">
                        </a>
                        <div class="txt-wrap txt-wrap-shouyou">
                            <p class="popular">人气 ：<strong class="highlight">181234</strong></p>
                            <p class="type">类型 ：角色扮演</p>
                            <a title="点击下载" class="mp-btn mp-btn-focus2 download-btn" target="_blank" id="tj_android_3_download" href="#">下载</a>
                        </div>
                    </div>
                </li>
                <li class="list-item">
                    <div class="brief">
                        <span class="number">5</span>
                        <a title="刀塔传奇" class="name" target="_blank" href="#">刀塔传奇</a>
                    </div>
                    <div class="detail">
                        <a target="_blank" id="tj_android_4" href="#">
                            <img class="pic-shouyou" alt="刀塔传奇" src="images/1.jpg">
                        </a>
                        <div class="txt-wrap txt-wrap-shouyou">
                            <p class="popular">人气 ：<strong class="highlight">180971</strong></p>
                            <p class="type">类型 ：卡片棋牌</p>
                            <a title="点击下载" class="mp-btn mp-btn-focus2 download-btn" target="_blank" id="tj_android_4_download" href="#">下载</a>
                        </div>
                    </div>
                </li>
                <li class="list-item">
                    <div class="brief">
                        <span class="number">6</span>
                        <a title="时空猎人(街机格斗)" class="name" target="_blank" href="#">时空猎人(街机格斗)</a>
                    </div>
                    <div class="detail">
                        <a target="_blank" id="tj_android_5" href="#">
                            <img class="pic-shouyou" alt="时空猎人(街机格斗)" src="images/1.jpg" src="http://t11.baidu.com/it/u=3076963501,1407203949&amp;fm=58">
                        </a>
                        <div class="txt-wrap txt-wrap-shouyou">
                            <p class="popular">人气 ：<strong class="highlight">163312</strong></p>
                            <p class="type">类型 ：网络游戏</p>
                            <a title="点击下载" class="mp-btn mp-btn-focus2 download-btn" target="_blank" id="tj_android_5_download" href="#">下载</a>
                        </div>
                    </div>
                </li>
                <li class="list-item">
                    <div class="brief">
                        <span class="number">7</span>
                        <a title="海岛大作战-海岛奇兵" class="name" target="_blank" href="#">海岛大作战-海岛奇兵</a>
                    </div>
                    <div class="detail">
                        <a target="_blank" id="tj_android_6" href="#">
                            <img class="pic-shouyou" alt="海岛大作战-海岛奇兵" src="images/1.jpg" src="http://t12.baidu.com/it/u=3505125227,2166710350&amp;fm=58">
                        </a>
                        <div class="txt-wrap txt-wrap-shouyou">
                            <p class="popular">人气 ：<strong class="highlight">159934</strong></p>
                            <p class="type">类型 ：网络游戏</p>
                            <a title="点击下载" class="mp-btn mp-btn-focus2 download-btn" target="_blank" id="tj_android_6_download" href="#">下载</a>
                        </div>
                    </div>
                </li>
                <li class="list-item">
                    <div class="brief">
                        <span class="number">8</span>
                        <a title="天天世界杯-软妹最爱" class="name" target="_blank" href="#">天天世界杯-软妹最爱</a>
                    </div>
                    <div class="detail">
                        <a target="_blank" id="tj_android_7" href="#">
                            <img class="pic-shouyou" alt="天天世界杯-软妹最爱" src="images/1.jpg">
                        </a>
                        <div class="txt-wrap txt-wrap-shouyou">
                            <p class="popular">人气 ：<strong class="highlight">150098</strong></p>
                            <p class="type">类型 ：网络游戏</p>
                            <a title="点击下载" class="mp-btn mp-btn-focus2 download-btn" target="_blank" id="tj_android_7_download" href="#">下载</a>
                        </div>
                    </div>
                </li>
                <li class="list-item">
                    <div class="brief">
                        <span class="number">9</span>
                        <a title="暖暖环游世界" class="name" target="_blank" href="#">暖暖环游世界</a>
                    </div>
                    <div class="detail">
                        <a target="_blank" id="tj_android_8" href="#">
                            <img class="pic-shouyou" alt="暖暖环游世界" src="images/1.jpg">
                        </a>
                        <div class="txt-wrap txt-wrap-shouyou">
                            <p class="popular">人气 ：<strong class="highlight">150098</strong></p>
                            <p class="type">类型 ：网络游戏</p>
                            <a title="点击下载" class="mp-btn mp-btn-focus2 download-btn" target="_blank" id="tj_android_8_download" href="#">下载</a>
                        </div>
                    </div>
                </li>
                <li class="list-item">
                    <div class="brief">
                        <span class="number">10</span>
                        <a title="苍穹之剑" class="name" target="_blank" href="#">苍穹之剑</a>
                    </div>
                    <div class="detail">
                        <a target="_blank" id="tj_android_9" href="#">
                            <img class="pic-shouyou" alt="苍穹之剑" src="images/1.jpg">
                        </a>
                        <div class="txt-wrap txt-wrap-shouyou">
                            <p class="popular">人气 ：<strong class="highlight">142297</strong></p>
                            <p class="type">类型 ：角色扮演</p>
                            <a title="点击下载" class="mp-btn mp-btn-focus2 download-btn" target="_blank" id="tj_android_9_download" href="#">下载</a>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </div>
    <div class="mp-list-wrap j-tab-cnt j-rank-box mp-hidden" id="j-rank-ios">
        <div class="mp-list-wrap">
            <ul class="mp-gamerank-list3 j-rank none">
                <li class="list-item list-item-0 item-hover">
                    <div class="brief">
                        <span class="number">1</span>
                        <a title="时空猎人(街机格斗)" class="name" target="_blank" href="#">时空猎人(街机格斗)</a>
                    </div>
                    <div class="detail">
                        <a target="_blank" id="tj_ios_0" href="#">
                            <img class="pic-shouyou" alt="时空猎人(街机格斗)" src="images/1.jpg">
                        </a>
                        <div class="txt-wrap txt-wrap-shouyou">
                            <p class="popular">人气 ：<strong class="highlight">123453</strong></p>
                            <p class="type">类型 ：动作冒险</p>
                            <a title="点击下载" class="mp-btn mp-btn-focus2 download-btn" target="_blank" id="tj_ios_0_download" href="#">下载</a>
                        </div>
                    </div>
                </li>
                <li class="list-item list-item-1">
                    <div class="brief">
                        <span class="number">2</span>
                        <a title="梦想海贼王(跨服战)" class="name" target="_blank" href="#">梦想海贼王(跨服战)</a>
                    </div>
                    <div class="detail">
                        <a target="_blank" id="tj_ios_1" href="#">
                            <img class="pic-shouyou" alt="梦想海贼王(跨服战)" src="images/1.jpg">
                        </a>
                        <div class="txt-wrap txt-wrap-shouyou">
                            <p class="popular">人气 ：<strong class="highlight">120322</strong></p>
                            <p class="type">类型 ：卡片棋牌</p>
                            <a title="点击下载" class="mp-btn mp-btn-focus2 download-btn" target="_blank" id="tj_ios_1_download" href="#">下载</a>
                        </div>
                    </div>
                </li>
                <li class="list-item list-item-2">
                    <div class="brief">
                        <span class="number">3</span>
                        <a title="放开那三国" class="name" target="_blank" href="#">放开那三国</a>
                    </div>
                    <div class="detail">
                        <a target="_blank" id="tj_ios_2" href="#">
                            <img class="pic-shouyou" alt="放开那三国" src="images/1.jpg">
                        </a>
                        <div class="txt-wrap txt-wrap-shouyou">
                            <p class="popular">人气 ：<strong class="highlight">120100</strong></p>
                            <p class="type">类型 ：卡片棋牌</p>
                            <a title="点击下载" class="mp-btn mp-btn-focus2 download-btn" target="_blank" id="tj_ios_2_download" href="#">下载</a>
                        </div>
                    </div>
                </li>
                <li class="list-item">
                    <div class="brief">
                        <span class="number">4</span>
                        <a title="神之刃(神之作)" class="name" target="_blank" href="#">神之刃(神之作)</a>
                    </div>
                    <div class="detail">
                        <a target="_blank" id="tj_ios_3" href="#">
                            <img class="pic-shouyou" alt="神之刃(神之作)" src="images/1.jpg">
                        </a>
                        <div class="txt-wrap txt-wrap-shouyou">
                            <p class="popular">人气 ：<strong class="highlight">120099</strong></p>
                            <p class="type">类型 ：动作冒险</p>
                            <a title="点击下载" class="mp-btn mp-btn-focus2 download-btn" target="_blank" id="tj_ios_3_download" href="#">下载</a>
                        </div>
                    </div>
                </li>
                <li class="list-item">
                    <div class="brief">
                        <span class="number">5</span>
                        <a title="花样爷爷官方版手游" class="name" target="_blank" href="#">花样爷爷官方版手游</a>
                    </div>
                    <div class="detail">
                        <a target="_blank" id="tj_ios_4" href="#">
                            <img class="pic-shouyou" alt="花样爷爷官方版手游" src="images/1.jpg">
                        </a>
                        <div class="txt-wrap txt-wrap-shouyou">
                            <p class="popular">人气 ：<strong class="highlight">120034</strong></p>
                            <p class="type">类型 ：网络游戏</p>
                            <a title="点击下载" class="mp-btn mp-btn-focus2 download-btn" target="_blank" id="tj_ios_4_download" href="#">下载</a>
                        </div>
                    </div>
                </li>
                <li class="list-item">
                    <div class="brief">
                        <span class="number">6</span>
                        <a title="神雕侠侣(正版手游)" class="name" target="_blank" href="#">神雕侠侣(正版手游)</a>
                    </div>
                    <div class="detail">
                        <a target="_blank" id="tj_ios_5" href="#">
                            <img class="pic-shouyou" alt="神雕侠侣(正版手游)" src="images/1.jpg">
                        </a>
                        <div class="txt-wrap txt-wrap-shouyou">
                            <p class="popular">人气 ：<strong class="highlight">120032</strong></p>
                            <p class="type">类型 ：角色扮演</p>
                            <a title="点击下载" class="mp-btn mp-btn-focus2 download-btn" target="_blank" id="tj_ios_5_download" href="#">下载</a>
                        </div>
                    </div>
                </li>
                <li class="list-item">
                    <div class="brief">
                        <span class="number">7</span>
                        <a title="我叫MT:小小魔兽" class="name" target="_blank" href="#">我叫MT:小小魔兽</a>
                    </div>
                    <div class="detail">
                        <a target="_blank" id="tj_ios_6" href="#">
                            <img class="pic-shouyou" alt="我叫MT:小小魔兽" src="images/1.jpg">
                        </a>
                        <div class="txt-wrap txt-wrap-shouyou">
                            <p class="popular">人气 ：<strong class="highlight">110344</strong></p>
                            <p class="type">类型 ：休闲益智</p>
                            <a title="点击下载" class="mp-btn mp-btn-focus2 download-btn" target="_blank" id="tj_ios_6_download" href="#">下载</a>
                        </div>
                    </div>
                </li>
                <li class="list-item">
                    <div class="brief">
                        <span class="number">8</span>
                        <a title="忘仙" class="name" target="_blank" href="#">忘仙</a>
                    </div>
                    <div class="detail">
                        <a target="_blank" id="tj_ios_7" href="#">
                            <img class="pic-shouyou" alt="忘仙" src="images/1.jpg">
                        </a>
                        <div class="txt-wrap txt-wrap-shouyou">
                            <p class="popular">人气 ：<strong class="highlight">110003</strong></p>
                            <p class="type">类型 ：角色扮演</p>
                            <a title="点击下载" class="mp-btn mp-btn-focus2 download-btn" target="_blank" id="tj_ios_7_download" href="#">下载</a>
                        </div>
                    </div>
                </li>
                <li class="list-item">
                    <div class="brief">
                        <span class="number">9</span>
                        <a title="王者之剑(暗黑格斗)" class="name" target="_blank" href="#">王者之剑(暗黑格斗)</a>
                    </div>
                    <div class="detail">
                        <a target="_blank" id="tj_ios_8" href="#">
                            <img class="pic-shouyou" alt="王者之剑(暗黑格斗)" src="images/1.jpg">
                        </a>
                        <div class="txt-wrap txt-wrap-shouyou">
                            <p class="popular">人气 ：<strong class="highlight">100324</strong></p>
                            <p class="type">类型 ：动作冒险</p>
                            <a title="点击下载" class="mp-btn mp-btn-focus2 download-btn" target="_blank" id="tj_ios_8_download" href="#">下载</a>
                        </div>
                    </div>
                </li>
                <li class="list-item">
                    <div class="brief">
                        <span class="number">10</span>
                        <a title="大掌门(第一武侠)" class="name" target="_blank" href="#">大掌门(第一武侠)</a>
                    </div>
                    <div class="detail">
                        <a target="_blank" id="tj_ios_9" href="#">
                            <img class="pic-shouyou" alt="大掌门(第一武侠)" src="images/1.jpg">
                        </a>
                        <div class="txt-wrap txt-wrap-shouyou">
                            <p class="popular">人气 ：<strong class="highlight">100001</strong></p>
                            <p class="type">类型 ：卡片棋牌</p>
                            <a title="点击下载" class="mp-btn mp-btn-focus2 download-btn" target="_blank" id="tj_ios_9_download" href="#">下载</a>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </div>
</div>

<script>
	(function(){
		
		var context = document.getElementById('container'),
			titles = context.getElementsByTagName('h3'),
			lis = context.getElementsByTagName('li'),
			ul = context.getElementsByTagName('ul'),
			hoverPartten = /item-hover/g
			activePartten = /active/g;
	
		context.onmouseover = function() {
			var e = event || window.event,
				target = e.target || e.srcElement;
				
			if(target.nodeName =='H3') {
				for(i = 0; i < titles.length; i++){
	                ul[i].style.display = 'none';
	                titles[i].className = titles[i].className.replace(activePartten,'');
	                if(titles[i] == target) {
	                	ul[i].style.display = 'block';
	                }
                }
				target.className += ' active';
				
			}
			
			if(target.nodeName =='LI') {
				if(!hasClassName(target, hoverPartten)) {
					for(var i = 0; i < lis.length; i++) {
						lis[i].className = lis[i].className.replace(hoverPartten,'');
					}
					target.className += ' item-hover';
				}
			}
		}
		
		
		
		//是否有item-hover这个类
		function hasClassName(obj, partten) {
			return partten.test(obj.className);
		}
	})();
</script>
</body>
</html>